<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Cupcake Premium Admin Template</title>

        <!-- Reset -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/reset.css" /> 
        <!-- Main Style File -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/root.css" /> 
        <!-- Grid Styles -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/grid.css" /> 
        <!-- Typography Elements -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/typography.css" /> 
        <!-- Jquery UI -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/jquery-ui.css" />
        <!-- Jquery Plugin Css Files Base -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/jquery-plugin-base.css" />

        <!--[if IE 7]>	  <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/ie7-style.css" />	<![endif]-->

        <!-- jquery base -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery-ui-1.8.11.custom.min.js"></script>
        <!-- jquery plugins settings -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery-settings.js"></script>
        <!-- toggle -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/toogle.js"></script>
        <!-- tipsy -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.tipsy.js"></script>
        <!-- uniform -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.uniform.min.js"></script>
        <!-- Jwysiwyg editor -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.wysiwyg.js"></script>
        <!-- table shorter -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.tablesorter.min.js"></script>
        <!-- raphael base and raphael charts -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/raphael.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/analytics.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/popup.js"></script>
        <!-- fullcalendar -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/fullcalendar.min.js"></script>
        <!-- prettyPhoto -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.prettyPhoto.js"></script>
        <!-- Jquery.UI Base -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.core.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.mouse.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.widget.js"></script>
        <!-- Slider -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.slider.js"></script>
        <!-- Date Picker -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.datepicker.js"></script>
        <!-- Tabs -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.tabs.js"></script>
        <!-- Accordion -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.accordion.js"></script>
        <!-- Google Js Api / Chart and others -->
        <script type="text/javascript" src="https://www.google.com/jsapi"></script>
        <!-- Date Tables -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.dataTables.js"></script>



    </head>
    <body>
        <div class="wrapper">

            <!-- START HEADER -->
            <div id="header">

                <!-- logo -->
                <div class="logo">	
                    <a href="index.html"><img src="<?php echo base_url(); ?>admin_public/img/logo.png" width="112" height="35" alt="logo"/></a>	
                </div>


                <!-- notifications -->
                <div id="notifications">
                    <a href="index.html" class="qbutton-left"><img src="<?php echo base_url(); ?>admin_public/img/icons/header/dashboard.png" width="16" height="15" alt="dashboard" /></a>
                    <a href="#" class="qbutton-normal tips"><img src="<?php echo base_url(); ?>admin_public/img/icons/header/message.png" width="19" height="13" alt="message" /> <span class="qballon">23</span> </a>
                    <a href="#" class="qbutton-right"><img src="<?php echo base_url(); ?>admin_public/img/icons/header/support.png" width="19" height="13" alt="support" /> <span class="qballon">8</span> </a>
                    <div class="clear"></div>
                </div>


                <!-- quick menu -->
                <div id="quickmenu">
                    <a href="#" class="qbutton-left tips" title="Add a new post"><img src="<?php echo base_url(); ?>admin_public/img/icons/header/newpost.png" width="18" height="14" alt="new post" /></a>
                    <a id="open-stats" href="#" class="qbutton-right tips" title="Statistics"><img src="<?php echo base_url(); ?>admin_public/img/icons/header/graph.png" width="17" height="15" alt="graph" /></a>
                    <div class="clear"></div>
                </div>


                <!-- profile box -->
                <div id="profilebox">
                    <a href="#" class="display">
                        <img src="<?php echo base_url(); ?>admin_public/img/simple-profile-img.jpg" width="33" height="33" alt="profile"/>	<b>Logged in as</b>	<span>Administrator</span>
                    </a>

                    <div class="profilemenu">
                        <ul>
                            <li><a href="#">Account Settings</a></li>
                            <li><a href="<?php echo admin_url('authenticate/logout') ?>">Logout</a></li>
                        </ul>
                    </div>

                </div>


                <div class="clear"></div>
            </div>
            <!-- END HEADER -->


            <!-- START MAIN -->
            <div id="main">

                <!-- START SIDEBAR -->
                <div id="sidebar">

                    <!-- start searchbox -->
                    <div id="searchbox">
                        <div class="in">
                            <form id="form1" name="form1" method="post" action="">
                                <input name="textfield" type="text" class="input" id="textfield" onfocus="$(this).attr('class','input-hover')" onblur="$(this).attr('class','input')"  />
                            </form>
                        </div>
                    </div>
                    <!-- end searchbox -->

                    <!-- start sidemenu -->
                    <div id="sidemenu">
                        <ul>
                            <li class="<?php echo $menu_config[1] ?>"><a href="<?php echo admin_url('home') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/laptop.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_dashboard'] ?></a></li>
                            <li class="<?php echo $menu_config[2] ?>"><a  href="<?php echo admin_url('userpermission') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/lock.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_permistion'] ?></a></li>
                            <li class="<?php echo $menu_config[3] ?>"><a href="<?php echo admin_url('configs') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/attach.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_config'] ?></a></li>
                            <li class="<?php echo $menu_config[4] ?>"><a href="<?php echo admin_url('user') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/user.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_user'] ?></a></li>
                            <li class="<?php echo $menu_config[5] ?>"><a href="<?php echo admin_url('languages') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/file_edit.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_language'] ?></a></li>
                            <!-- start submenu with icon -->
                            <li class="subtitle <?php echo $menu_config[6] ?>">
                                <a class="action tips-right" href="#" title="<?php echo $lang['menu_location'] ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/mail.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_location'] ?><img src="<?php echo base_url(); ?>admin_public/img/arrow-down.png" width="7" height="4" alt="arrow" class="arrow" /></a>
                                <ul class="submenu">
                                    <li><a href="<?php echo admin_url('location/country') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/magnify.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_country'] ?></a></li>
                                    <li><a href="<?php echo admin_url('location/zone') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/print.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_zone'] ?></a></li>
                                </ul>
                            </li>
                            <li class="<?php echo $menu_config[7] ?>"><a title="<?php echo $lang['menu_jobs'] ?>" href="<?php echo admin_url('jobs') ?>"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/image.png" width="16" height="16" alt="icon"/><?php echo $lang['menu_jobs'] ?></a></li>
                            <li class="<?php echo $menu_config[8] ?>"><a href="widgets.html"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/star.png" width="16" height="16" alt="icon"/>Widgets</a></li>

                            <!-- start submenu with icon -->
                            <li class="subtitle">
                                <a class="action tips-right" href="#" title="Submenu with icon"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/mail.png" width="16" height="16" alt="icon"/>Submenu<img src="<?php echo base_url(); ?>admin_public/img/arrow-down.png" width="7" height="4" alt="arrow" class="arrow" /></a>
                                <ul class="submenu">
                                    <li><a href="#"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/magnify.png" width="16" height="16" alt="icon"/>Search File</a></li>
                                    <li><a href="#"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/print.png" width="16" height="16" alt="icon"/>New Files	<span class="ballon">693</span>	</a></li>
                                    <li><a href="#"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/trash.png" width="16" height="16" alt="icon"/>Others	<span class="ballon">4</span>	</a></li>
                                </ul>
                            </li>
                            <!-- end submenu with icon -->

                            <li><a href="error-pages.html"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/comment.png" width="16" height="16" alt="icon"/>Error Pages</a></li>
                            <li><a href="buttons-icons.html"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/arrow_down.png" width="16" height="16" alt="icon"/>Button &amp; Icons</a></li>
                            <li><a href="grid-styles.html"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/file.png" width="16" height="16" alt="icon"/>Grid Styles	<span class="ballon">67</span>	</a></li>

                            <li><a href="calendar.html"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/calendar.png" width="16" height="16" alt="icon"/>Calendar</a></li>

                            <!-- start submenu without icon -->
                            <li class="subtitle">
                                <a class="action" href="#"><img src="<?php echo base_url(); ?>admin_public/img/icons/sidemenu/download.png" width="16" height="16" alt="icon"/>Submenu Text<img src="<?php echo base_url(); ?>admin_public/img/arrow-down.png" width="7" height="4" alt="arrow" class="arrow" /> </a>
                                <ul class="submenu">
                                    <li><a href="#">Search File</a></li>
                                    <li><a href="#">New Files	<span class="ballon">693</span>	</a></li>
                                    <li><a href="#">Others	<span class="ballon">4</span>	</a></li>
                                </ul>
                            </li>
                            <!-- end submenu without icon -->

                        </ul>
                    </div>
                    <!-- end sidemenu -->

                </div>
                <!-- END SIDEBAR -->


                <?php echo $body; ?>
                <div class="clear"></div>
            </div>
            <!-- END MAIN -->
            <!-- START FOOTER -->
            <div id="footer">
                <div class="left-column">© Copyright 2012 - All rights reserved.</div>
            </div>
            <!-- END FOOTER -->

        </div>
    </body>
</html>
